﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using negocio;

namespace WebCliente
{
    public partial class MisCitas : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                llenarGrilla();
            }
        }
        private void llenarGrilla()
        {
            CitaBO citaBO = new CitaBO();

            int idSolicitante = 1;
            gdwCitas.DataSource = citaBO.listarMisCitas(idSolicitante);
            gdwCitas.DataBind();
        }
    }
}